package com.quanyan.stadiumScheduler.service;

import com.quanyan.stadiumScheduler.entity.TbGameEvent;

import java.util.List;

/**
 * Created by xiao.xiao on 2016/7/21.
 *
 * 运动场,赛事相关的消息推送
 */
public interface GameMsgPush {

    /**
     * 赛事开始,推送消息给用户
     * */
    void pushGameStartMsgToUser(TbGameEvent tbGameEvent, List<Integer> uids);

    /**
     *赛事完结推送给所有人
     *
     * */
    void pushGameFinishPushMsgToUser(TbGameEvent tbGameEvent, List<Integer> uIds);

    /**
     * 赛事非正常结束（比赛开始时间到了，报名未满）
     *
     */
    void unNormalEnd(TbGameEvent tbGameEvent, List<Integer> uids);

    /**
     * 赛事前1小时开始,推送消息给用户
     * */
    void pushBeforeOneHourGameStartMsgToUser(TbGameEvent tbGameEvent, List<Integer> uids);

}
